﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.ServiceModel.Activation;

namespace AddonService
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "TestService" in code, svc and config file together.
    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
    public class TestService : ITestService
    {
        public string Test()
        {
            return "Hello world ";// +str;
        }

        public string TestPost(TestClass obj)
        {
            return "Received object " + obj.id;
        }

        public string TestDelete(string id)
        {
            return "Deleted object " + id;
        }
    }
}
